// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package com.example.basic.base;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * A set of states that represent the last state change of an Activity.
 */
@Retention(RetentionPolicy.SOURCE)
@IntDef({ActivityState.CREATED, ActivityState.STARTED,ActivityState.RESUMED,ActivityState.PAUSED,
       ActivityState.STOPPED,ActivityState.DESTROYED})
public @interface ActivityState {

    int CREATED = 1;

    int STARTED = 2;

    int RESUMED = 3;

    int PAUSED = 4;

    int STOPPED = 5;

    int DESTROYED = 6;
}
